diff --git a/reading_machine/src/Config.cpp b/reading_machine/src/Config.cpp
index 6043ceabbb26bd1c976c2f88a3995a72a4e1189b..3b6041bed5c186adefb30c43a9b495509d607f73 100644
--- a/reading_machine/src/Config.cpp
+++ b/reading_machine/src/Config.cpp
@@ -135,8 +135,8 @@ void Config::printForDebug(FILE * dest) const
   std::string stackStr = "";
   for (auto & s : stack)
   {
-    if (hasColIndex("ID"))
-      stackStr += getLastNotEmptyConst("ID", s);
+    if (hasColIndex(idColName))
+      stackStr += getLastNotEmptyConst(idColName, s);
     else
       stackStr += std::to_string(s);
     stackStr += ",";
@@ -285,12 +285,12 @@ bool Config::isComment(std::size_t lineIndex) const
 
 bool Config::isMultiword(std::size_t lineIndex) const
 {
-  return hasColIndex("ID") && getConst("ID", lineIndex, 0).get().find('-') != std::string::npos;
+  return hasColIndex(idColName) && getConst(idColName, lineIndex, 0).get().find('-') != std::string::npos;
 }
 
 bool Config::isEmptyNode(std::size_t lineIndex) const
 {
-  return hasColIndex("ID") && getConst("ID", lineIndex, 0).get().find('.') != std::string::npos;
+  return hasColIndex(idColName) && getConst(idColName, lineIndex, 0).get().find('.') != std::string::npos;
 }
 
 bool Config::isToken(std::size_t lineIndex) const