How can i bypass the unique id problem in multi-state boxes?

I want the same id for two different states of separate multistate boxes. As I have linked the first multi-state box with a dropdown menu and want to link another box with it, so that when I select the first option from the dropdown, both the boxes show their respective states, which is possible when all the three elements have equal ids.

Perhaps this oneā€¦

        let stateValue = $w('#myDropdown').value