More flexible workerId handling