handle the {index} parameter like a native MessageFormat argument.

For example that allows to specified leading zero by using
{index,number,0000}
Could you extract a constant for this Pattern?