idVariable function

Extract the trajectory identifier variable