Generate lowercase element/attribute names

popup_menu() seems to be using the default if the user cleared it

Tests
