Correct module template to accept exportId

Looks fine to me now; the moduleExportId is where you'd expect when
specified, which leads me to my next fix…
Provide default moduleExportId when none specified

I don't think we want to force people to specify this so here's a
sensible default.