Field type guesser for PHPCR