'Takes an identifier (like a username or IP address) and converts it
into a key usable by the cache system.'

def convert_identifier_to_key(self, identifier):

    bits = [char for char in identifier if (char.isalnum() or (char in _other_allowed_chars))]
    bits.append(u'_accesses')
    return u''.join(bits)
