Added a flag to indicate badge type (person, tribe or both).