Create Function: cast_id Mapping