original_string: public function getId($suffix = null)
      {
          $id = 'scope';
          $id .= '-'.$this->scopeName;
  
          if ($suffix) {
              $id .= '-'.$suffix;
          }
  
          if ($this->idPrefix) {
              $id = $this->idPrefix . '-' . $id;
          }
  
          return HtmlHelper::nameToId($id);
      }
code: public function getId($suffix = null)
      {
          $id = 'scope';
          $id .= '-'.$this->scopeName;
  
          if ($suffix) {
              $id .= '-'.$suffix;
          }
  
          if ($this->idPrefix) {
              $id = $this->idPrefix . '-' . $id;
          }
  
          return HtmlHelper::nameToId($id);
      }
code_tokens: public function getId ( $ suffix = null ) { $ id = 'scope' ; $ id .= '-' . $ this -> scopeName ; if ( $ suffix ) { $ id .= '-' . $ suffix ; } if ( $ this -> idPrefix ) { $ id = $ this -> idPrefix . '-' . $ id ; } return HtmlHelper :: nameToId ( $ id ) ; }
docstring: Returns a value suitable for the scope id property.
docstring_tokens: Returns a value suitable for the scope id property .