Allow 'id' and such to be part of the slug. Fixes #565.