buildFunctionPattern

See ISO 18004:2006 Annex E