Text this: A theory of shape identification