fixed inflector camel2id and id2camel

fixes #1160

Are there tests for the Inflector?