make sure a model class exists for the key before trying to find a name