public function setIdentifier($identifier) { $this->identifier = (string) $identifier; return $this; }