tests and docs for $.identify