public function idField() { if (!empty($this->config['idField'])) { return $this->config['idField']; } else { return 'id'; } }