Tagged inhaler-sensor