Add modules

Change-Id: Idafb0f57dd032d4f88658de15d293bdefac0567f
diff --git a/src/utils.cpp b/src/utils.cpp
index b4f60ab..2900e14 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -50,3 +50,12 @@
         return "";
     }
 }
+
+std::string fullNodeName(const path_& location, const ModuleNodePair& pair)
+{
+    if (!pair.first) {
+        return location.m_nodes.at(0).m_prefix.value().m_name + ":" + pair.second;
+    } else {
+        return pair.first.value() + ":" + pair.second;
+    }
+}