Make isDuplicate() return the ID of the existing thought or false