public function getAttributes()
 {
     $attrs = parent::getAttributes();
     return array_merge($attrs, array('checked' => $this->Value() == $this->BaseValue() ? 'checked' : null, 'type' => 'radio', 'name' => $this->baseName, 'value' => $this->BaseValue()));
 }