I believe it's Article 406 of the NEC that discusses fixture wire...and, if my memory is correct, #18 is good for 6 amps.