A smart name-processor in Python