code: public static String computeId(String recordType, NaaccrDictionary baseDictionary, Collection<NaaccrDictionary> userDictionaries) {
          if (baseDictionary == null)
              return recordType;
  
          StringBuilder buf = new StringBuilder(recordType);
          buf.append(";").append(baseDictionary.getDictionaryUri());
          if (userDictionaries != null)
              for (NaaccrDictionary userDictionary : userDictionaries)
                  if (userDictionary != null)
                      buf.append(";").append(userDictionary.getDictionaryUri());
          return buf.toString();
      }
docs: Helper method to compute an ID for a runtime dictionary based on the URI of its base and user dictionaries.
  @param baseDictionary base dictionary (required)
  @param userDictionaries user-defined dictionaries (optional, can be null or empty)
  @return computed runtime dictionary ID, never null