Basic patterns for classifying and identifying fingerprints