Fix ProductID problems when using an EDAlias

The ProductID is used internally by edm::Ref's when doing a comparison. This comparison is used internally by AssociationMaps. Previously, an edm::Ref from an EDAlias had a different ProductID than the original which could cause lookups in AssociationMaps to fail.