Handle enum member strings with hyphen and period characters.
Merge into master from pull request #10:
Handle enum member strings with hyphen and period characters. (https://github.com/floodlight/infra/pull/10)