public function getIdentity() { if (is_null($this->_identity)) { $identityColumn = $this->_indexInstance->getIndexColumn(); $this->_identity = $this->{$identityColumn}; } return $this->_identity; }