code: protected void doLinkPass(final BuildData buildData, final Set<String> bookIdAttributes) throws BuildProcessingException {
          log.info("Doing " + buildData.getBuildLocale() + " Topic Link Pass");
  
          validateTopicLinks(buildData, bookIdAttributes);
  
          // Apply the duplicate ids for the spec topics
          buildData.getBuildDatabase().setDatabaseDuplicateIds();
      }
docs: Go through each topic and ensure that the links are valid, and then sets the duplicate ids for the SpecTopics/Levels
  
  @param buildData
  @param bookIdAttributes The set of ids that have been used in the set of topics in the content spec.
  @throws BuildProcessingException