Core/BG: use new GetUniqueBracketID() method to store statistics

Closes #13122