fix NPE SemanticPersistentPropert.setResourceId for String property