Resource Context refactoring

i think this line could be extracted to separated method like ``buildResourceName($key)`` and used also [here](https://github.com/fsi-open/admin-bundle/pull/159/files#diff-359d80842043f8f242a0d9499db8fa8fR186)