function to get UID from data set, step, and pulseID

With the additional information of the list of epics pulseIDs, required
to get the shot number.