'A rose by any other name would smell as sweet' means
no other flower has sweet smell.
someone is known by his/her name.
What matters is what something is, not what it is called.
anything with name rose will smell sweet.