language: Make Buffer::new take an explicit ID (#2900)

See Linear description for the full explanation of the issue. This PR is
mostly a mechanical change, except for the one case where we do pass in
an explicit `next_id` instead of `model_id` in project.rs.

Release Notes:
- Fixed a bug where some results were not reported in project search in
presence of unnamed buffers.
07b9c6c302Piotr Osiewicz committed on 8/28/2023, 9:51:50 AM· committed by GitHubparent81a5043
16 files changedLine totals unavailable