Return unique taxonomic names for connecting id
to root.
Examples
data(mammals)
# return human lineage
getNdLng(mammals, id = "Homo_sapiens")
#> [1] "Mammalia" "Theria" "Eutheria" "Boreoeutheria"
#> [5] "Euarchontoglires" "Primates" "Haplorrhini" "Simiiformes"
#> [9] "Catarrhini" "Hominoidea" "Hominidae" "Homininae"