id_across_datasets function

ID across datasets