protected function getLabel()
    {
        if (null === ($attribute = $this->getFilteredAttribute())) {
            return null;
        }
        if ($label = $this->get('label')) {
            return $label;
        }

        return $attribute->getName();
    }