Calling Runtime::getWorkerId() is only possible from within the runtime, hence guard the call with CallerEnvironment.