Registers a profile, replacing any registered profile with the same identifier.
The profile to register.