nids