In what contexts would I capitalize "city" and "county"?
Solution 1:
Words like city and county often appear in proper nouns alongside their use as common nouns. Most style guides recommend capitalizing these words only when used in full proper names. For example:
Wayne County is a county in the U.S. state of Michigan. As of the 2010 census, its population was 1,820,584 making it the 18th most-populous county in the United States. The county seat is Detroit, the largest city in Michigan.
Note how the entry only capitalizes Wayne County.
According to the 2000 census, the county has a total area of 672.20 square miles....
This last case is what the Illinois Identity Standards mean by “shortened forms of official names.” Even though it specifically refers to Wayne County and might be considered an abbreviation of the proper noun, you do not capitalize county when using it alone like this. Likewise, you would not capitalize the city or the county seat even when referring specifically to the city of Detroit.
You can read many such phrases in more than one way. City of London is a famous example: The City of London is a district of the city of London. Capitalization always follows from the phrase's meaning, not its form. It would be incorrect to capitalize city of London when referring to the greater metropolitan area. Likewise, the Research Triangle is anchored by “the cities of Raleigh, Durham, and Chapel Hill” even though City of Raleigh appears as a proper noun in official documents.
Often, a common noun is more appropriate even when it exactly matches the form of a proper name. Follow the meaning, not the form. For example:
The Commonwealth of Virginia has many natural reservoirs. The Ragged Mountain reservoir is located closest to the City of Charlottesville.
Here, City fits the meaning; even better, it matches the formal register of Commonwealth.
The Ragged Mountain reservoir is located closest to the city of Charlottesville (but the unincorporated community of Ednam is closer).
In contrast, this example emphasizes city as a geographical role and not as part of Charlotte's identity. Therefore, it requires the uncapitalized common noun.
Solution 2:
In the matter of capitalizing City when referring to New York City, here’s my reasoning: you should capitalize City when you are using the word as an abbreviated form of — or simple synonym for — New York City or the City of New York.
For example,
We love to bike in the City, especially along Hudson River park to the GWB.
Do not capitalize city when referring New York City in generic terms; for example,
We visited New York City. The city was like any other except more so.
I’d say the same goes when referring to the City of London, as opposed to London as a whole; the City (that is, London’s financial district) is, like Wall Street, a proper name in its own right.