Added length check to id function when attempting to verify that nuc is in ZZLLAAAM form.  Also cleaned up code.