move id mapping into base preprocessor
update versions to ruby 2.1