provide agent id via env variable

IP address will be appended, so we have a unique id even when starting several agents with the same AGENT_NAME env variable