Who came up with the idea of EU citizenship? Spain

It was Spain that proposed in 1990 to include EU citizenship in the negotiations on the Maastricht Treaty. Now what does the Catalonia crisis tell us about it?