Support hyphenated attribute names. Implements GregBrant's changes in issue #35.