Changed beginStream of stream module to take StreamID

Marco Rovere requested stream modules be able to know the StreamID to which they are associated. This is needed for the new DQM design.