For #1833 "Actions: option to target all iterations of repeated controls"

- function to find all repeated controls with a given prefixed id
- action implementation supports specifying a repeat over a control of a given name
- refactoring