Selector dynamic issue

Oh if you are trying to get the id value you can use GetAttribute Activity and pass id as the attribute
Try this!