dsandrei, thanks for this. I was about to start experimenting.
Having cranked open a free kepub, the <span id="kobo.1.1"> looks like it should be done per sentence. The first number is the paragraph, the second number is the sentence. Of course, I don't know if the sentence granuality is necessary.