Add names for materials

Fixes some issues with displaying material names(with TiC Tooltips). See screenshots:
1) http://i.imgur.com/dHTsI8m.jpg
2) http://i.imgur.com/OU1VY8i.jpg