In other contexts, Aztec may refer to all the various city states and their peoples, who shared large parts of their ethnic history and cultural traits with the Mexica, Acolhua and Tepanecs, and who often also used the Nahuatl language as a lingua franca .