Add comments on UrlToId functions.
Change Url to URL.
Change Id to ID.
Change Cache.Id to ID.
golint: fix conditional blocks.