fix for #147, add macro identify
Merge pull request #152 from kostya/identify

fix for #147, add macro identify