Answer:
Shakespeare is using the meaning of attire in this passage. The line "costly thy habit as thy purse can buy" is referring to clothing, not addiction or behavior. The following line mentions "rich, not gaudy," which further supports the idea that he is talking about clothing. He then mentions how the apparel often gives insight into a person's rank and station, and how those of the best rank in France are most select and generous when it comes to clothing.