created an overloaded method for CommonHelper.getVariableName