safra;11010377 wrote:
so I don't think it is prepared to work with this left, right identifiers approach
Which does not mean you can't adapt the data to suit your needs. Alogrithms and data structures go hand in hand, so if you wish to use a specific algorithm to solve your problem, you will need to use the proper data structure as well. As you've allready discovered, you can solve your problem using the current data structure (only a parent id), but the queries to do this will be cumbersome and.
safra;11010377 wrote:
Also, the parent data is not a nummeric unique field.
which does not mean you can't assign a uniqie numeric field to the parent data to suit your needs. Once again, choose a structure that works for the algorithm.