For #25951 - Added UDIM support to the Sequence key

- This is to support UDIM texture sequences as exported from Mari
- Adds <UDIM> and $UDIM as valid format strings
- Tidies up some code and comments