According to some scholars the words are derived from the Doric word apella (ἀπέλλα), which originally meant "wall," "fence for animals" and later "assembly within the limits of the square.