original_string: protected function _domId($value)
      {
          $domId = mb_strtolower(Text::slug($value, '-'));
          if ($this->_idPrefix) {
              $domId = $this->_idPrefix . '-' . $domId;
          }
  
          return $domId;
      }
code: protected function _domId($value)
      {
          $domId = mb_strtolower(Text::slug($value, '-'));
          if ($this->_idPrefix) {
              $domId = $this->_idPrefix . '-' . $domId;
          }
  
          return $domId;
      }
code_tokens: protected function _domId ( $ value ) { $ domId = mb_strtolower ( Text :: slug ( $ value , '-' ) ) ; if ( $ this -> _idPrefix ) { $ domId = $ this -> _idPrefix . '-' . $ domId ; } return $ domId ; }
docstring: Generate an ID suitable for use in an ID attribute.
  
  @param string $value The value to convert into an ID.
  @return string The generated id.
docstring_tokens: Generate an ID suitable for use in an ID attribute .