This is a simple class (treated as a struct) that holds a key/id pair. It is used by the Xread() and XreadGroup() methods.