diff --git a/bindings/e2e.go b/bindings/e2e.go
index 412896fd2b7005c6e5abfef49bf2fdf396e538e1..0464469c5302c92ec58ba09b792e6649cb22e91f 100644
--- a/bindings/e2e.go
+++ b/bindings/e2e.go
@@ -31,6 +31,10 @@ type E2e struct {
 	id  int
 }
 
+func (e *E2e) GetID() int {
+	return e.id
+}
+
 // Login creates and returns a new E2e object and adds it to the e2eTrackerSingleton
 // identity should be created via MakeIdentity() and passed in here
 // If callbacks is left nil, a default auth.Callbacks will be used