Add layer name if attribute model fails.