Added a method to clear the dimension id bitmap.

This is part of the fix for issue 1074