Asymptotic Classification Theory for Cognitive Diagnosis