def convert_identifier_to_key(self, identifier):
        bits = []
        
        for char in identifier:
            if char.isalnum() or char in ['_', '.', '-']:
                bits.append(char)
        
        safe_string = ''.join(bits)
        return "%s_accesses" % safe_string
Takes an identifier (like a username or IP address) and converts it
dataset/ETHPy150Open hzlf/openbroadcast/website/apps/tastypie/throttle.py/BaseThrottle.convert_identifier_to_key