Handle hash collisions by matching symbol name