get id for tr and td