fix #14: gcc 4.7 compile errors

- add this->functionName if we inharid from a template argument
  and access methods from this BaseClass
Merge pull request #16 from psychocoderHPC/gcc47Fix

fix #14: gcc 4.7 compile errors
fix confirmed on joker with gcc/4.7.1