It's enough to know that they taste different, even if you don't notice it yourself. If nobody could tell Pepsi and Coke apart without the label, that would become public knowledge pretty quickly and defeat the branding.
But most know that the store brands are usually re-labelled coke or pepsi, usually without much tweaking to the recipe, if any. But they still buy the main brand.