/**
  * get the id key of the model from his name
  *
  * @param $table : string name of the model
  */
 protected function idKey($table)
 {
     return Strings::toLower($table) . "_id";
 }