Added support for source id in emitter

Signed-off-by: Mike Gehard <mgehard@pivotallabs.com>