Spontaneous and Piezoelectric Polarization: Basic Theory vs. Practical Recipes