This story comes out of Britain from dailymail.co.uk -- Caught green-handed: How a man who stole from car fell into a booby trap. The bobbies set out a bait car armed with a SmartWater trap which sprayed paint that was invisible without a black light, but under the black light it glowed green. Very clever. The perp ripped off a laptop and other items and left with a green look.
It's worth noting that the thief, Yafet Askale, was found guilty and sentenced to "49 hours of community work and £400 costs." Oh well, maybe the public shaming is what deters thieves in London. Ya think?
Those spray bombs don't appear to be available for sale to the public, however SmartWater does sell a coding solution with which individuals can mark their property. It's a bit pricey at $99, but that's a one year subscription fee which includes the testimony of an expert witness for criminal prosecution.
DIYers might just want to mark their property items with a cheap paint that looks invisible but shows up under a black light.
Better yet, just write down the dang serial number!