衔 has two distinct senses: (1) physical — to hold something in the beak or mouth (birds, animals); (2) formal/classical — to bear a title, rank, or official designation (
军衔 military rank,
职衔 job title). In modern Chinese,
军衔 is the standard word for military rank.