/** * Retrieve value of field * @return scalar|FALSE * @param $key string **/ function get($key, $default = null) { if ($key == 'id') { $key = '_id'; } return parent::get($key, $default); }