private InternalSelector parseScopedAttribute() {
        ws();
        List<String> path = parseAttributePath();
        ws();
        expect(':');
        ws();
        return new ScopedAttributeSelector(path, parseScopedAssertions());
    }
Filter out unnecessary identity selectors when creating the finalized AST to evaluate selectors.
smithy-model/src/main/java/software/amazon/smithy/model/selector/SelectorParser.java