What I've done with unions to differentiate rows is to just include a literal column indicating the source.