On the Somigliana stress identity in elasticity