Attention as a determinant of task performance: From basics to applications