make required/optional an intrinsic attribute and default it to 'required'