Add method to support looking up subnet by id rather than network id

Ref #738