Attention as a multi-level system of weights and balances