What two city states were not distinguished by most speakers prior to the 9th century