Add support for hyphenated Hanna code names and attributes. Previously only underscore names and attributes were supported.