Hello..Thanks for the query
Mostly on clinical examination alone you dermatologist
will be able to tell you whether the lesions are fungal in origin or eczematous ; in this case it might be caused by a contact dermatitis
to external allergens coming in contact with your hip region.
In certain cases the diagnosis can be confirmed for fungus by doing a skin scraping and examination / culture of the material obtained.
Hope this is helpful.