code: private String determineDefinitionTitle(Parameters params) {
         if (params.model.getTitle() != null) {
              return params.model.getTitle();
          } else {
              return params.definitionName;
          }
      }
docs: Determines title for definition. If title is present, it is used, definitionName is returned otherwise.
  
  @param params      params object for this definition
  @return Definition title - value from title tag if present, definitionName otherwise