Add getter method for worker id field