allow macro expansions in attributes

this allows one to, for example, use #[doc = $macro_var ] in macros.