A teenager had to be taken to hospital after he was the victim of an alleged assault in Greenock on Sunday.