indices have ids that qualify their assets
refactored for generality