The Uno uses an ATmega328P so that's why Arduino IDE expects you to be using an ATmega328P. If you had a board with a different microcontroller selected from the Tools > Board menu then it would expect that microcontroller.
Arduino Uno uses an ATmega328P at 16 MHz, so that's the right board to select.