An ethical framework for the AI age