basic_defvar: Set the path for variables automatically.
Call set_path() in all variables defined via defvar().
set_path() was documented as being called from the configuration
interface, but no such code actually existed.
The path used for set_path() is derived from module_identifier()
and the variable name.
Adds module_identifier() to all places that use basic_defvar that
did not already have it.