SID
Yes, it would have been prudent for the controller to have removed any ambiguity by mentioning a level when the heading was given. The heading instruction could be interpretted as having cancelled or negated the previous clearance, which in your case was the SID[which of course is merely an abbreviated clearance] ......This is just my opinion on your post.