Adding grid id attribute