Optimizing calls to `get_the_ID()`.