public function getId($autoGenerate = true)
    {
        if ($autoGenerate && $this->_id === null) {
            $this->_id = static::$autoIdPrefix . $this->htmlHlp->counter++;
        }

        return $this->_id;
    }