Generate a random key for a model property