Implemented getting gen ID feature.