Fixed a bug that caused the function to break on non-numeric unique identifier values (e.g. "data00001-1"). However, for the moment the function is only returning the modified unique ids, which are taken by the plotting function but cannot be re-merged with the original identifiers. Hence, further fixing is needed...