limit network_id to unsigned 16bit maximum

Refs #7486