TreeEntry: use Id instead of Oid

Name it like The Library and the rest of the bindings.