Add accountId as part of customerIds to make customersId unique

Also,
* Import existing ref_id's as customerIds.
* findOne() to check for duplicates instead of find()