Temp fix for duplicate dom ids CRM-12188

This is a workaround for a rather unfortunate problem with profiles (or maybe QF in general).
TIm, assigned the Jira issue to you for QA.