How to expose (or use) a module attribute that is built using macros

Just be careful __CALLER__.module is not always the same as __MODULE__, for example if your quote block contains a defmodule, defprotocol, or defimpl.