def get_trainer(name):
    '''return the unique id for a trainer, determined by the md5 sum
    '''
    name = name.lower()
    return int(hashlib.md5(name.encode('utf-8')).hexdigest(), 16) % 10**8
return the unique id for a trainer, determined by the md5 sum