The fab code is chosen from a drop-down menu when editing the spec, as shown below. If the choice you want is missing, type it in and hit OK. You will get a dialog asking if you want to add your entry to the list of choices.
It is also possible to edit the available choices by modifying FabCodes.txt in the Data folder.