public function getClientId()
    {
        if (!isset($this->_poolClientId)) {
            while (!isset($id) || !$this->isPoolClientIdUnique($id)) {
                $id = static::generatePoolClientId();
            }
            $this->_poolClientId = $id;
        }
        return $this->_poolClientId;
    }