How to use identify with and identify by?