Deduce module name from variable name