Any city of the first class having a population less than one hundred thousand by the last federal census and having a charter providing that each of its councilmembers shall be the commissioner of an administrative department of such city, may by ordinance provide for the separate designation of such councilmembers as officers, in accordance with such administrative departments, and for their filing for and election to office under such separate designations.