You can use WikiFactory::DBtoID() here