def __hash__(self):
if not self.isRecord():<EOL><INDENT>return super(Model, self).__hash__()<EOL><DEDENT>else:<EOL><INDENT>return hash((self.__class__, self.id()))<EOL><DEDENT>
Creates a hash key for this instance based on its primary key info.

:return     <int>