Generic normalize method.

Method used in multiple gateways to normalize a field now in the base gateway class.