Having parsed an ECF file to flat degree 3, how can I find which note items are associated with a function?