Network ids: store and use

Store the network_id and the original_network_id (will be available in the webservices)
Use the network_id for NIT table parsing