Uniquify the view ids in entity layouts.