assignCoupleIds function

Assign Couple IDs