Ensure error names are always valid camel-cased identifiers.