public String relativize(String namespace) {
        return this.namespace.equals(namespace) ? name : toString();
    }
Creates a relativized Symbol for the given namespace.

<p>If this symbol is in the same namespace as the provided namespace,
then only the symbol name is returned. Otherwise, the fully-qualified
symbol is returned.

@param namespace Namespace to relativize against.
@return Returns the relativized symbol.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/Symbol.java