Mark macros.id as the primary key.

This makes macro-ref: searches much faster.