Selector dynamic issue

I need to get I’d from selector this ui-id-1 is in selector how can I assign from selector to variable