Revert "Rename badge id field to profile id"

This reverts commit c2068f37e8464c980ca32a43afa7fd2d39185d56.