public function getId() { if ($this->started !== true) { throw new Exception\SessionNotStartedException('Tried to retrieve the session identifier, but the session has not been started yet.)', 1351171517); } return $this->sessionIdentifier; }