old code: Get nodes by identifier

there is this branch laying around. if its relevant, we should clean it up and merge, otherwise remove and forget it.

/cc @chregu