doc fixes
add getAncestors and getUniqueId helpers