An Australian lawyer has sued McDonald's after the fast-food giant blocked him registering his nickname as a trademark, according to the AFP news agency.