Logic for badge id at HSLU