abstracted network api for ID-based networking