diff --git a/Kwf/Assets/Dependency/Decorator/StringReplace.php b/Kwf/Assets/Dependency/Decorator/StringReplace.php
index <HASH>..<HASH> 100644
--- a/Kwf/Assets/Dependency/Decorator/StringReplace.php
+++ b/Kwf/Assets/Dependency/Decorator/StringReplace.php
@@ -3,10 +3,11 @@ class Kwf_Assets_Dependency_Decorator_StringReplace extends Kwf_Assets_Dependenc
 {
     private $_replacements;
     private $_identifier;
-    public function __construct(Kwf_Assets_Dependency_Abstract $dep, array $replacements, $identifier)
+    public function __construct(Kwf_Assets_Dependency_Abstract $dep, array $replacements, $identifier = null)
     {
         parent::__construct($dep);
         $this->_replacements = $replacements;
+        if (!$identifier) $identifier = $dep->getIdentifier();
         $this->_identifier = $identifier;
     }
Decorator: take dependency identifier as own identifier by default