def __id_attr_name(self):
    return self._attr_name()
Get attribute of referenced id.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/db/__init__.py/ReferenceProperty.__id_attr_name