protected function getFieldId($optionValue = null)
    {
        if (!is_null($optionValue)) {
            return sprintf('%s_%s', $this->name, $this->cleanValue($optionValue));
        }

        return $this->name;
    }
protected function getFieldId($optionValue = null)
    {
        if (!is_null($optionValue)) {
            return sprintf('%s_%s', $this->name, $this->cleanValue($optionValue));
        }

        return $this->name;
    }
protected function getFieldId ( $ optionValue = null ) { if ( ! is_null ( $ optionValue ) ) { return sprintf ( '%s_%s' , $ this -> name , $ this -> cleanValue ( $ optionValue ) ) ; } return $ this -> name ; }
Gets the field Id.

@param string $optionValue

@return string
Gets the field Id .