add id to hidden date element