added a function that returns keys to help uniquify nodes by their details (nidinfo)