Syntax

In “the city library,” what category is “city” in the compound expression, under a basic analysis where it modifies the head noun?