Local Polarization Effects in Nitride Heterostructures and Devices