Add unique IDs to variation snippets