nodeids function

Extract Node Identifiers