Bug 1052136 - Clean up mozL10n API use in Communications

https://bugzilla.mozilla.org/show_bug.cgi?id=1052136
This function is 'kind' of repeated when we have an aditional id.
We could extract this to a function (checking if it's a string or an object) and passing the element to apply the modifications.