add ids to mog default header and footer