Added initial support for indexed bind parameters. Support not tested
and still fine tuning but basic outline in place.