new model for assigning table id's and headers

Use grid row/column as part of heading id, interpret colspan as section
heading, replacing when another colspan heading is found (useful for
balance sheet type tables), omit headers attribute from heading cells to
avoid repetition of heading titles