Allow KeyProperties with a kind specified to be assigned string ids for models that have allow_id = True