Hacked a bit here and there - primarily to change the case and document ID formats to integers.

Quick and dirty solution for now. The validation probably needs to be
moved out from the field module and to the CM plugin. The same should
help texts explaning the ID formats.