def __init__(self, value, namespace=_default_namespace):
    self.namespace = namespace

def __new__(cls, value, namespace=_default_namespace):
    return super().__new__(cls, value)

@property
def local_name(self):
    pass
Extend str class to take additional parameters