Generate a request_id per request based on environment.