i think this is wrong. we should default to `config.case_type` in the `external_id` lookup, but i think the right thing to do in the case where we are given an ID is to get the referenced case and use its type. this should also probably not allow you to set the parent to a non-existent case id the same way it won't do anything if it fails the `external_id` lookup