Use the 's' key to select an area of the layer or the 'a' key to select everything inside the cursor box, then type the command 'what'.
I should probably provide a mode that prints the name of the layer after each icon in the palette. My interface maximizes layout area and minimizes window decorations.