Parse badge id