Text this: An arithmetical model of spatial definition