use correct id generator for topics