public function getId() { $primaryKeyName = $this->_modelDefinition->primaryKey; return $this->{$primaryKeyName}; }