def METHOD_NAME(self, name, x):
    """
    Mangle the name by hashing the I{name} and appending I{x}.
    @return: the mangled name.
    """
    h = hashlib.sha256(name.encode('utf8')).hexdigest()
    return '%s-%s' % (h, x)