import string
import random


def gen_id(length):
    """ Create a well-usable random id """
    source = string.ascii_letters + string.digits
    return ''.join([random.choice(source) for _ in range(0, length)])