allowing Nidset to be subscriptable; added nidstring_to_nidlist function