Implement object identification ('/' key).

This has identification by character; I've left out cursor mode for now.

(port from Larn 12.3)