Consider classifying properties

`in_array` [is slow](http://maettig.com/1397246220). I think this is relevant here since we have Items with 100 and more statements, right? Do an `array_flip` in `setClassifyingPropertyIds` (since you only need it here) and check with `isset` or `array_key_exists`.