Added individual id counter for tasks.