Survey Item-Response Behavior as an Imperfect Proxy for Unobserved Ability: Theory and Application