Can you make a dynamic variable and call back to it?

So i’m working on a addon and this has stumped me. I need to make a multiple frames with different identifiers but the way i’m doing it isnt working. I’v made a function and when i use the function it isnt taking the Text Entry Text + a Random number It’s just using "Identifier"for all the frames, Not taking the info from the function. All frames need different identifiers because they need to be call on later to set them visible/invisible. Maby i’m just a big dumb dumb but i cant figure this out for the life of me. Thanks in advance