ap Thomas Lloyd would be the "last name at birth". Lloyd is probably an additional name that Thomas acquired, or could be the name of Thomas' own father, but if he was known as Thomas Lloyd at the time Foulke was born, then ap Thomas Lloyd would be the correct patronymic, meaning "son of Thomas Lloyd."