Improve module identifier strings

They are now only one line each with no embedded newlines.
ScriptInfo: override getIdentifier() properly

Without doing this, scripts were not fully Identifiable
(i.e., differentiable from one another), since the default
implementation in AbstractModuleInfo only used the delegate
class name, which for scripts is always ScriptModule.