Revert "detect table and row elements using id's"

Reverts Juraci/swamp#16

It broke bin/swamp, sorry.