Updated uniqueId function: now it will generate separate sequences for different prefixes