public ShapeId withoutMember() {
        if (member == null) {
            return this;
        } else {
            return new ShapeId(namespace, name, null);
        }
    }
Creates a new Shape.Id with no member.

@return returns a new Shape.Id, or the existing shape if it has no member.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/ShapeId.java