Add an environment variable with container's ID to the running container

This adds and environment variable to each started container that contains the ID assigned to the container. The name of the variable is:

```
docker.id=<container-id>
```

The format and name of the environment variable is following the current thinking outlined in #2939.