The following test code works if I comment out the \setcitestyle line. If I don't it throws a "undefined control sequence error." What's wrong? (I'm using the MacTeX-2011 distribution.)
\documentclass{article}
\usepackage{etoolbox}
\def\bibfile{refs}
\usepackage{natbib}
\setcitestyle{numbers}
\setcitestyle{notesep={: },aysep={}}
\ifdefmacro{\bibname}{}{\newcommand{\biname}{References}} % Default bibliography name
\ifdefmacro{\bibfile}{}{\newcommand{\bibfile}{references}} % Default name of references file, references.bib
%\input{mmd-local-chicagoAD}
\begin{document}
Hello \citep{KandR}
Kernighan wrote, \citet{gary_a._dymski_afterword:_2009}
Goodbye \citep[][222]{gary_a._dymski_afterword:_2009}
\renewcommand\bibname{References}
\bibliographystyle{mcbride}
\bibliography{refs}
%\input{mmd-local-bibmake}
\end{document}