Make names of model-local variables TeX-compatible

In particular, replace underscores. See https://github.com/DynareTeam/dynare/issues/263#issuecomment-139540237 Potentially, we might allow defining a TeX-name for them.