There are some object t id oriented functions creeping in now, don't think I saw Hide/Show for object id though.
We can supposedly relocate entities by their object id now so you could try that to see if it works.
Been there, done that, got all the T-Shirts!