Set cache id

This avoids problems like described in https://github.com/Guite/MostGenerator/issues/650