Setup: Made reference number conversion dependent to the reference formatter.

The actual implementation works only for numbers in the `grouped_by_three`
format. With this easy check it's possible to support both formats in the
repository setup...