On an Identity for Stochastic Integrals