ResourceId to instance-identifier string converter methods

part of ONOS-7503

Change-Id: I5c0b0c0c38f51ea1a94208c0b7cb9d4be1db060f
diff --git a/lib/pom.xml b/lib/pom.xml
index 01ac45b..de64efb 100644
--- a/lib/pom.xml
+++ b/lib/pom.xml
@@ -174,6 +174,12 @@
             </dependency>
 
             <dependency>
+                <groupId>org.apache.commons</groupId>
+                <artifactId>commons-text</artifactId>
+                <version>1.2</version>
+            </dependency>
+
+            <dependency>
                 <groupId>io.dropwizard.metrics</groupId>
                 <artifactId>metrics-core</artifactId>
                 <version>3.2.2</version>