docs: public int getBucketIdLengthForUnorderedCollection( Name nodeTypeName, Set<Name> mixinTypes ) {
          Set<Name> allTypes = new LinkedHashSet<>();
          allTypes.add(nodeTypeName);
          if (mixinTypes != null && !mixinTypes.isEmpty()) {
              allTypes.addAll(mixinTypes);
          }
          for (Name typeName : allTypes) {
              if (isTypeOrSubtype(typeName, ModeShapeLexicon.TINY_UNORDERED_COLLECTION)) {
                  return 1;
              } else if (isTypeOrSubtype(typeName, ModeShapeLexicon.SMALL_UNORDERED_COLLECTION)) {
                  return 2;
              } else if (isTypeOrSubtype(typeName, ModeShapeLexicon.LARGE_UNORDERED_COLLECTION)) {
                  return 3;
              } else if (isTypeOrSubtype(typeName, ModeShapeLexicon.HUGE_UNORDERED_COLLECTION)) {
                  return 4;
              }
          }
          throw new IllegalArgumentException("None of the node types are known unordered collection types: " + allTypes);
      }