public static byte[] getMembershipId(DistributedSystem sys) {
    return EventID.initializeAndGetDSEventIdentity(sys);
  }
constructor for creating an event ID originating in the local cache

@param sys the local distributed system
geode-core/src/main/java/org/apache/geode/internal/cache/EventID.java