Generating Primary instances

Is there a pythonscript for generating *named* “Primary instances” in FontLab?