The semantics of variety in categorial grammar