Changing the id tag to be the global variable of the respective block