Newer trailers had a sticker applied that had the VIN and a few other tidbits. If that's gone or faded, you'd have to talk to the trailer manufacturer to see if there is any recovery of the info.
Depending on your state, you may have to go the home-made route which is getting tougher to do...