code: public static void addIds(List<Entry> entries, boolean updateRdn) {
          for (Entry entry : entries) {
              addId(entry, updateRdn);
          }
      }
docs: Iterates over entries and adds a timebased uuid to each entry. If updateRdn is true, the uuid becomes the rdn.
  Use this to handle duplicates.