Encapsulated method to form the id of Task to get a reference properly
@protected String safelyGetTaskIdFromTask(Task<T> task) => task.id;