Refactor away core_info_get_id