Make grid item IDs unique to prevent accidental overwriting