public function getNameWithAlternateId() : string { if ($this->alternate_id) { return "{$this->getName()},{$this->alternate_id}"; } return $this->getName(); }