Using explanations for design patterns identification