Generate environment variables from links.

Fixes #91.
Add `ivar` documentation for `hostname`.