assigns workerID to the workerTR