Referencing other entities’ tempids in transactions (closes #10)