public function getHtmlId()
    {
        $form = $this->getParentOfType('\\Zepi\\Web\\UserInterface\\Form\\Form');

        // If the group isn't assigned to a data form we can not generate
        // the id of the group.
        if (!$form) {
            return $this->key;
        }
        
        return $form->getHtmlId() . '-' . $this->key;
    }