added primitive level name validation