England hopeful Nick Compton has been reprimanded for showing dissent during Somerset's County Championship clash with Durham.