public function getPrimarySequence() { if ($this->primarySequence === FALSE) { $this->primarySequence = $this->context->getStructure()->getPrimaryKeySequence($this->name); } return $this->primarySequence; }