docs: private Set<LabelId> convertLabelsToIds(Set<Label> labelSet) {
          return labelSet.stream()
                  .map(tx::convertToId)
                  .filter(LabelId::isValid)
                  .collect(toSet());
      }