It changes over time, and tends to be nothing more than a guideline.
- Battleships have traditionally been named after states. (e.g. U.S.S Iowa, U.S.S. Wisconsin, etc.)
- Carriers are currently named after US Presidents or important political figures. (U.S.S John F Kennedy, U.S.S. Ronald...