Create gen_id.py

Generate the img_id to use for URL minifying