internal/router: add fullySpecified parameter to IdHandler

We also change internal/v4 so that the Cache-Control header is only added when the id is fully specified.
I meant if you could add a test with false on fully specified name as well, just to make sure such scenario never happens.