[DOC] Fix docs for Store#getById

Also added some to the example.

Not sure if the note is necessary.
"otherwise it will return `null`" (extra comma)