Identifying and prioritizing tasks