No way to get a UniqueName's ID
There is currently no way to get a raw UniqueName's ID without subclassing.

I'm already working on this, but I thought I should make a bug report anyway.

common/src/main/java/io/netty/util/UniqueName.java
common/src/main/java/io/netty/util/UniqueName.java
diff --git a/common/src/main/java/io/netty/util/UniqueName.java b/common/src/main/java/io/netty/util/UniqueName.java
index dbdd47617d9..9eb3e8b4bab 100644
--- a/common/src/main/java/io/netty/util/UniqueName.java
+++ b/common/src/main/java/io/netty/util/UniqueName.java
@@ -55,6 +55,10 @@ public final String name() {
         return name;
     }
 
+    public final int id() {
+        return id;
+    }
+
     @Override
     public final int hashCode() {
         return super.hashCode();
