If you're looking to do this on import the answer is you can't with standard Aperture.
You can use an import script to do this. See Aperture Import Action Scripts for a script that will do what you are looking for or else search the list here for other discussions concerning this topic.