The Complete MIDI 1.0 Detailed Specification states:
Special ID 7D is reserved for non-commercial use (e.g. schools, research, etc.)
and is not to be used on any product released to the public.
Here's a little bash one-liner to generate a somewhat unique 4-byte midi id:
echo "username/project" | shasum | cut -c1-6 | (echo -n "7d" && cat)