Look up link type as a treeattr.