SE-0367: Conditional compilation for attributes

Thanks all for participating in the review! As @Joe_Groff has announced, the review has concluded and SE-0367 has been accepted.