public function getFieldId()
    {
        $fieldId = $this->getAttribute('fieldId');
        if (null === $fieldId && null !== $this->field) {
            $fieldId = $this->$fieldId = $this->field->id;
        }

        return $fieldId;
    }