should generate a legal getter name for a namespaced model (bugfix)