Assign groups of photos uploaded together an id so we can pull them out later