Structure item ID when merging structures

I see. I’ve used id() to retrieve a structure item before successfully, but never when merging structures. I’m trying to do what you detail here but have hit this issue. How would I retrieve the index of the structure item if not via id? Or does this just not work when merging structures?

Edit: for now I’m just using findBy and the en entry to return the structure item.