@Override
    public int compareTo(ShapeId other) {
        int outcome = toString().compareToIgnoreCase(other.toString());
        if (outcome == 0) {
            // If they're case-insensitively equal, use a case-sensitive comparison as a tie-breaker.
            return toString().compareTo(other.toString());
        }
        return outcome;
    }
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