Commit: retrieve tree and parents' ids directly

Allow direct access to the tree and parents' ids directly instead of having to load the objects just to get to this data.

This fixes #73.

---

I'm not completely sure about the 'parents' naming, `parents_ids` seemed to have too many plurals in it.