rename forceModuleName to getModuleName

reserve the simple names for the externally visible functions.
extract "should I add prelude/module" logic

to be reused when extending the module list