remove the namevar on the id for the permission type