Transform hyphenated attributes into valid option names.