Data inheritance

what I mean is that the Repeat Group would have a Type of “Role” and the UI page would also have a type of Role. In fact I could even have multiple UI pages that all have a type of Role if Bubble allows me to set the page name via a dynamic expression (would jump to a page that has same name as the role, converted to lowercase letters)