adding ids to dates