Add an Id() method which returns the uint32 used as the stream id