Hi
Thought this may help,
James Riley son of Patrick Riley & Magaret Robie born c1880
Mother remarried after Patricks death to Thomas Williams.
James is on the 1891 census under the name Williams.
On the marriage to Mary Conner he is listed as James O'Riley.
James and mary had 4 daughters:-
Ellen, Margaret, Mary, Mary Ellen.
Sapper