Add 'wire id' concept.
Added journaling.
Added code to determine the stream identifier.