[parameters.base] add sid property to Parameter
[core.cache] use sid in keygen if available
[core.cache] allow to disable caching per instance
[discretizations.basic] truely disable caching if asked to