Implement support to specify the network id that should be used by
instances

Fixes #66