An Agent-Based and Context-Oriented approach to Symbol Recognition in Diagrammatic Drawings