Task identification and patterns