Handle enum member strings with hyphen and period characters.