get network id