How to assign a new ID to each participant?

Check this solution just in case