Trump appoints ex-lawyer as Attorney General