Hi
BMaximus,
Have you looked at the module
PDF::Reuse? It's designed to mass produce unique PDF files based on the a template file and content you provide (in your case names and the unique ID you mentioned). You could have a template per design of certificate you indend to create then populate them with data as you require.
Hope this helps.
Martin