Someone asks you to name the 22nd president of the United St…

Someone asks you to name the 22nd president of the United States, but you can’t remember. To aid your memory, the person then tells you that the president’s name is the same as that of a large city on Lake Erie. Upon hearing the hint acted as a(n)                       .