How two different tiles can have exactly the same name?

Hi,

i have two tiles name (pixelred and pixelredark), in my game, i need when my script compare the two tiles name, it must be equal.
There is a solution in unity to have two tiles different with the same name ? (its when i call GetSprite(…).name.ToString()
Or i have to make a function to change the text name of a tile, for ex i can substring ark of pixelredark

Thank you !