There are identical twins out there whose parents confused one with the other and now they living their life with the name of the other sibling, never noticing because it doesn't make any difference.
That's not how identical twins are formed. An egg, fertilized from a single sperm, splits into two, creating two people with identical DNA. You're thinking of fraternal twins, where two separate eggs are fertilized by two separate sperm.