* BUG: Fixed bug with idenfity option.
* ENHANCEMENT: Moved identify code into a separate funtion and calling it before all record events now.