diff --git a/ExprNode.hh b/ExprNode.hh
index 0383272a475a2fdbb07b80d2fe6696b4527c1427..62612bffecd764bf856c4853dbe6072cc62d0d06 100644
--- a/ExprNode.hh
+++ b/ExprNode.hh
@@ -231,6 +231,7 @@ public:
   virtual double eval(const eval_context_type &eval_context) const throw (EvalException);
   virtual void compile(ofstream &CompileCode, bool lhs_rhs, ExprNodeOutputType output_type, const temporary_terms_type &temporary_terms, map_idx_type &map_idx) const;
   virtual NodeID toStatic(DataTree &static_datatree) const;
+  int get_symb_id() const { return symb_id; };
 };
 
 //! Unary operator node