expose pattern attributes to lua
model name, just because
lua method to get models from the cache
remove pattern stuff from the skin
save the pattern on the model
show patterns in modelspinner