Fixes domain ids and drush generate commands.