Reverting IntentIdCompleter change from Gerrit #3909

commit id: 0d17c3135ed771fe1d146d2dd9ca7ae57e2a8238

Change-Id: If640a649135e405ba4258c5364c96822b49ec245
diff --git a/cli/src/main/java/org/onosproject/cli/net/IntentIdCompleter.java b/cli/src/main/java/org/onosproject/cli/net/IntentIdCompleter.java
index 52dfdc2..fd96c38 100644
--- a/cli/src/main/java/org/onosproject/cli/net/IntentIdCompleter.java
+++ b/cli/src/main/java/org/onosproject/cli/net/IntentIdCompleter.java
@@ -39,7 +39,7 @@
         Iterator<Intent> it = service.getIntents().iterator();
         SortedSet<String> strings = delegate.getStrings();
         while (it.hasNext()) {
-            strings.add(it.next().id().toString());
+            strings.add(it.next().key().toString());
         }
 
         // Now let the completer do the work for figuring out what to offer.