static Pair<Set<ShapeId>, Set<String>> parseTraits(Set<String> ids) {
        Set<ShapeId> traitNames = new HashSet<>();
        Set<String> traitNamespaces = new HashSet<>();

        for (String arg : ids) {
            if (arg.endsWith("#")) {
                traitNamespaces.add(arg.substring(0, arg.length() - 1));
            } else {
                traitNames.add(ShapeId.from(Trait.makeAbsoluteName(arg)));
            }
        }

        return Pair.of(traitNames, traitNamespaces);
    }
Utilities for {@link IncludeTraits} and {@link ExcludeTraits}.
smithy-build/src/main/java/software/amazon/smithy/build/transforms/TraitRemovalUtils.java