Refactor TenantAwareAttribute and add comments