Fix for view's being created with non-unique id's.
Fix for view's being created with non-unique id's.

mdittmer/foam,jacksonic/foam,jacksonic/foam,jlhughes/foam,jlhughes/foam,jlhughes/foam,mdittmer/foam,foam-framework/foam,jlhughes/foam,mdittmer/foam,mdittmer/foam,jacksonic/foam,osric-the-knight/foam,foam-framework/foam,jacksonic/foam,osric-the-knight/foam,foam-framework/foam,osric-the-knight/foam,osric-the-knight/foam,foam-framework/foam,foam-framework/foam