I believe this test is wrong.

`'\\#identif\\\\\\#ier\\.#propertyName.\\.abc\\\\.def'`

after going through JS string escaping is the string:

`\#identif\\\#ier\.#propertyName.\.abc\\.def`

`objectId` should be the string `\#identif\\\#ier\.`  

Escaping for JS: 

`'\\#identif\\\\\\#ier\\.'`