I think it's helpful to have both -- the task ID is helpful because it makes it clear which task attempts are redundant with one another.  Did you mean to rename it to index, so the naming is consistent with task info?  I kept the task id name here because I thought it might be a little more obvious to a user what it means