protected function prepareRadioButtonIdsConstant(Script $script)
    {
        $radioButtonIds = array();
        foreach ($this->radioButtons as $radioButton) {
            $radioButtonIds[$radioButton->getName()] = Builder::getId($radioButton->getQuad());
        }
        $script->addScriptConstant($this->getRadioButtonIdsConstantName(), $radioButtonIds);
        return $this;
    }