add a public accessor for the definition of "invalid module id"
cosmetic changes
Merge pull request #1750 from fwyzard/add_invalid_module_id

Framework -- Add a public accessor for the definition of "invalid module id"