assigned ids to all ul,li nodes