Use constants for get_part_by_id.