Only `String` or `Number` type property can be `primaryIdentifier`. We should enforce it during schema validation.