Custom tagging engine for PHP