code: public function getRelationModelField()
      {
          $field = $this->model->tabularPrefix;
          if ($this->modelField->relationship->companionRole($this->modelField->modelRole) === 'child') {
              $field .= 'child_object_id';
          } else {
              $field .= 'parent_object_id';
          }
  
          return $field;
      }
docs: Get relation model field.
  
  @return [[@doctodo return_type:getRelationModelField]] [[@doctodo return_description:getRelationModelField]]