public ShapeId withMember(String member) {
        if (!isValidIdentifier(member)) {
            throw new ShapeIdSyntaxException("Invalid shape ID member: " + member);
        }

        return new ShapeId(namespace, name, member);
    }
Creates a new Shape.Id with a member add to it.

@param member Member to set.
@return returns a new Shape.Id
@throws ShapeIdSyntaxException if the member name syntax is invalid.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/ShapeId.java