Yes ok,
So my thinking was I might be reluctant to do this, because I can't be entirely sure that there is not some platform-generated code that is relying on the id. So in general, I would be hesitant to change an id that the platform has given to an element.
I made a little demo app to test it out, and turns out that both renaming and adding a child could get into trouble, depending on what else is going on in your screen. For example, in a scenario where they are part of a container that sometimes has Visible set to false, both the rename and the added child are gone after making them visible again.
See attached demo.
Thinking of it, this makes sense to me in this way : OS has a representation of the screen in react code/variables, and builds the DOM from there, so the dom is not the source but a result of a refresh from the internal state of the screen. Renaming elements in the dom, or adding child divs to the dom, are not represented in this internal state, and get wiped when OS refreshes the dom. Something like that, not sure I'm using the right words.
So, conclusion is, both renaming or adding child divs might get lost, you could try doing the rename in the onRender instead of the OnReady. See attached demo, in that case they are the correct name after making visible again.
Dorine