protected function generateId()
    {
        $inputId = static::$idPrefix . $this->getName();
        if ($this->isMultiple()) {
            $inputId = "{$inputId}-{$this->instances}";
        }
        $this->setAttribute('id', $inputId);
        return $inputId;
    }
protected function generateId()
    {
        $inputId = static::$idPrefix . $this->getName();
        if ($this->isMultiple()) {
            $inputId = "{$inputId}-{$this->instances}";
        }
        $this->setAttribute('id', $inputId);
        return $inputId;
    }
protected function generateId ( ) { $ inputId = static :: $ idPrefix . $ this -> getName ( ) ; if ( $ this -> isMultiple ( ) ) { $ inputId = "{$inputId}-{$this->instances}" ; } $ this -> setAttribute ( 'id' , $ inputId ) ; return $ inputId ; }
Generate input id based on provided name

@return string
Generate input id based on provided name