Added helper function to generate tags. Need Andres to look into this
	modified:   ext/tag.c
	modified:   ext/tag.h