Electronic Structure Crystallography and Functional Motifs of Materials