Symmetry types of the piezoelectric tensor and their identification