Add missing environment variables to the request.

Currently it is always numeric, but I think it's better to treat it as an identifier and keep it as a string, like all other data that comes from environment variables.