Adds the ability to set and retrieve network namespace IDs. This is useful, for example, for determining the "other side" of a veth pair.