Applied path from Carsten Fuchs <carsten.fuchs@cafu.de> to apply cleanID against ids.