Social identity, market memory, and first-mover advantage