This is where Obama is going with the Small Arms Treaty. Check out this language from the United Nations:
If national law enforcement officials were able to trace small arms back to their last legitimate owner, who might then be held accountable, this would form an effective measure against illicit trade and diversion. For that purpose, it is essential that the weapon be marked upon production and import, and that appropriate records be kept. Existing stocks should also be marked.