Makes interaction intervention id auto-calculated