small helper for role macros