import uuid


def generate_id(original_filename):
    """
    Generate id
    Accepts an original filename and generates id string.
    Id will look like this:
        3c72aedc-ba25-11e6-a569-406c8f413974-original_filename.jpg

    :param original_filename: string - original file name
    :return: string - storage id
    """
    id = str(uuid.uuid1()) + '-' + original_filename.lower()
    return id