[example] Fix identifier generation