Many insulators install crawl space and basement ceiling insulation upside down, and when one tries to tell them they're wrong, they tell you they've been doing it that way for 25 years. In any New York region, your ceiling insulation is installed incorrectly.
In your attic, does the insulation follow the rafters all the way up? If so, the insulation is installed correctly, but the presence of the styrofoam baffles could be creating at least a partial second vapor retarder, and you may find that your insulation is wet up there, too. Those baffles are only necessary where the rafters meet the ceiling joists, for no more than maybe two feet, so that the ventilation path from the soffit vents. if any, is not blocked by the insulation being jammed into that tight spot.
To deal with your original question about the musty odors in your basement, every earth floor no matter how small should be covered with a vapor retarder. The brick foundation walls are likely to be allowing some moisture to pass through, but the biggest problem in older homes is the probable absence of a vapor retarder under the basement floor, and that is likely the biggest contributor to the musty odors.
Architect (NY) and Home Designer (PA)