Add indexical correlation method for matching square brackets to references