3ds started out with friend codes, but they added nintendo ids later in a software update.