Intelligent IoT Attack Detection Design via ODLLM with Feature Ranking-based Knowledge Base