validation for module.name == module.functionName during build.