See #7, #8. keyForAttribute function now automatically underscores the attribute key.