public function __get($name)
 {
     $value = parent::__get($name);
     if ($value == null) {
         return $this->getExtra($name);
     }
 }
 public function __get($name)
 {
     if ($name == "id") {
         return parent::__get("ID");
     } else {
         return parent::__get($name);
     }
 }