Add support for special chars in profile names to the Options UI.

Remove the ID attribute workaround.