add a (potentially useful) example analyzer.

the name_analyzer in analyzer.py looks up variable names and provides
additional info to the corresponding variables.

It could be more powerful but it's an ok example for what can be
achieved with analyzers.