When you export the data, it will have the unique id of the relating data record. You can test it out and see what I mean.