protected function getIdKey() { if (array_key_exists('idParam', $this->options)) { return $this->options['idParam']; } else { return $this->isParent() ? $this->getName() . "_id" : "id"; } }