add function to get shorthand alliances string