Add support for dash attributes on a model

Fix for this issue: #205

By using `define_method`, we can use dash in an attribute name.