def field_name(self, k):
return self.__getattr__(k).name<EOL>
get the field name of k

most of the time, the field_name of k will just be k, but this makes special
allowance for k's like "pk" which will return _id