Added normalization of ids

All characters other than a-z, A-Z, 0-9 and _ are replaced with their code
Set default wrapping behavior of the texture element to "repeat"