Fix BindIdentifier to work with subtrees as well. This fixes tree.nss test