Shorthand for `document.getElementById` with optional internal caching