Tag Id increments for each additional transition of the same type but
resets to zero as each processor is called. This fix groups tags by both
id and transition to avoid confusion.
Bug: b/198757467
Test: upload a trace with multiple types of transition, where
transitions have the same tag id.
Change-Id: Idad9c04dc5ac01faf0234d131cbb03364b2ccc36