Also see #2562 (review)
Ideally if an id is only required internally by a component for aria or other reasons, then a component should instead use Vue's useId to provide that id instead of requiring the consumer of the component to provide one.
This goes for any component that uses id similarly not just KCodeBlock (which the above comment/link refers to)