Returns the session ID
@api
string The session ID or empty.
Overrides SessionStorageInterface::getId
public function getId() {
  if (!$this->started) {
    return '';
    // returning empty is consistent with session_id() behaviour
  }
  return $this->saveHandler
    ->getId();
}