<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

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