Allow using subst variables in layer attributes
Merge pull request #584 from elemoine/string-format

[mobile] allow using substitution variables in layer attributes